package com.example.mybatis.mapper;

import com.example.mybatis.model.UserInfo;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserInfoXmlMapper {

    Integer insert(UserInfo userInfo);

    Integer delete(List<Integer> list);

    Integer update(Integer id);

    List<UserInfo> select();

    Integer insertUserByCondition(UserInfo userInfo);

    List<UserInfo> selecetByCondition(UserInfo userInfo);

    Integer updateByCondition(UserInfo userInfo);


}
